package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.StatementItem;
import cn.wolfcode.car.common.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StatementItemMapper {

    StatementItem selectOne(Long id);

    List<StatementItem> selectAll();

    List<StatementItem> queryForList(QueryObject qo, @Param("statementId") Long statementId);

    void insertBatch(List<StatementItem> statementItems);

    void update(StatementItem statementItem);

    void deleteById(Long id);

    void deleteByStatementId(Long statementId);
}

